Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Opening the Vector Codec Component

The utility functions you use to create and manipulate vector data streams are component functions of the vector codec (also known as the Apple curve codec). This codec, which processes vector data streams and draws the paths they specify, is a standard component that is managed by the Component Manager. Before calling these functions, you must first open the codec as shown in Listing 1 .

Listing 1 Opening the vector codec

ComponentInstance vectorCodec;
OpenADefaultComponent (decompressorComponentType,
                             kVectorCodecType, &vectorCodec);

For more information about the Component Manager and using components, see the chapter "Component Manager" in Mac OS For QuickTime Programmers.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |